package com.ll.menu.user.app.entity.response;


import java.io.Serializable;
import java.util.ArrayList;

/**
 * 返回指定类型的列表
 *
 * @author wangheng
 */
public class ResponseList<T extends Serializable> extends BaseResponse implements Serializable {
    private static final long serialVersionUID = -1864903652474192155L;

    private int totalCount;

    private ArrayList<T> data;

    public ArrayList<T> getData() {
        return data;
    }

    public void setData(ArrayList<T> data) {
        this.data = data;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }
}
